const MovieHttp = require("../../models/MovieHttp")
Page({
    data:{
        movie:""
    },
    onLoad:async function(options){
        var {m} = options;
        var result = await MovieHttp.getMovie(m)
        wx.setNavigationBarTitle({
            title: m
        })
        this.setData({movie:result.data.res})
    },
})